package com.icyrain11.training.controller;

import com.icyrain11.training.common.Result;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author icyrain11
 * @version 1.8
 */
@Tag(name = "用户模块")
@RestController
@RequestMapping("/user")
public class UserController {

    @GetMapping("/")
    @Operation(summary = "测试")
    public Result<String> sayHi() {
        return Result.success("Hello!");
    }

}
